package com.xt.objectLearing;

public class Test {
    public static void main(String[] args) {
        //    面向对象编程: 快速入门
        Student s1 = new Student();
        s1.name = "波妞";
        s1.chinese = 12;
        s1.math = 23;
        s1.printTotalScore();
        s1.printAverageScore();

        Student s2 = new Student();
        s2.name = "李华";
        s2.chinese = 2;
        s2.math = 23;
        s2.printTotalScore();
        s2.printAverageScore();
    }
}
